package animationGame;

public class TestVertex {
	public static void main(String[] args){
		Vertex v1 = new Vertex(17,4);
		Vertex v2 = new Vertex(42,23);
		Vertex v3 = new Vertex(0,0);
		Vertex v4 = new Vertex(42,23);
		
		System.out.println(v2.toString());
		System.out.println(v2);
		
		System.out.println(v1.length());
		System.out.println(v2.length());
		System.out.println(v3.length());
		
		System.out.println(v1.skalarMult(0.8));
		System.out.println(v1);
		
		System.out.println(v1.add(v2));
		System.out.println(v1);
		System.out.println(v2);
		v1.addMod(v2);
		System.out.println(v1);
		System.out.println(v2);
		
		System.out.println(v1.sub(v2));
		
		System.out.println(v1.length());
		System.out.println(v1.distance(v3));
		System.out.println(v3);
		
		System.out.println(v1);
		System.out.println(v1.normalized());
		System.out.println(v1);
		
	}
}
